package com.zxl.gtion.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * (Hospital)表实体类
 *
 * @author 
 * @since 2024-03-06 16:44:24
 */
@Data
public class Hospital extends BaseDomain {
    //主键id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //医院名
    private String name;
    //主图片
    private String img;
    //医院地址
    private String address;
    //简介
    private String introduce;
    private String phone;
    //经度
    @ApiModelProperty("经度")
    @NotEmpty(message = "经度不能为空")
    private String lon;
    //维度
    @NotEmpty(message = "纬度不能为空")
    private String la;


}

